//
//  XJYMessageViewController.h
//  高仿萝卜书摘
//
//  Created by 谢俊逸 on 06/12/2016.
//  Copyright © 2016 谢俊逸. All rights reserved.
//

#import "JSQMessagesViewController.h"
#import "JSQMessages.h"
#import "NSUserDefaults+DemoSettings.h"


#import "XJYChatData.h"
#import <AVIMClient.h>



@class XJYMessageViewController;

@protocol  XJYMessageViewControllerDelegate<NSObject>

- (void)didDidmissXJYMessageViewController:(XJYMessageViewController *)vc;

@end

@interface XJYMessageViewController : JSQMessagesViewController<UIActionSheetDelegate, JSQMessagesComposerTextViewPasteDelegate>

@property (nonatomic,weak) id<XJYMessageViewControllerDelegate >
delegateModal;


//@property (strong, nonatomic) DemoModelData *demoData;
@property (strong, nonatomic) XJYChatData *demoData;
@property (strong, nonatomic) AVIMConversation *conversation;
- (void)receiveMessagePressed:(UIBarButtonItem *)sender;

- (void)closePressed:(UIBarButtonItem *)sender;

@end


